package vitamin.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 负责人：某靓仔
 * Project_File表对应实体类
 * 修改日期：1.15
 */
@ApiModel
public class Project_File {
    @ApiModelProperty(value = "项目id，固定16位的唯一随机字符串")
    private String project_id;
    @ApiModelProperty(value = "文件id，固定20位的唯一随机字符串")
    private String file_id;
    @ApiModelProperty(value = "文件名，最长30位，包括后缀")
    private String filename;
    @ApiModelProperty(value = "上传者用户名，最长16位，最短6位的唯一字符串")
    private String uploader_username;
    @ApiModelProperty(value = "文件描述，最长100位，前端若没传值就赋默认值：“此文件没有描述”")
    private String description;
    @ApiModelProperty(value = "上传时间，格式：yyyy-MM-dd")
    private String upload_time;

    public Project_File() {
    }

    public Project_File(String project_id, String file_id, String filename, String uploader_username, String description, String upload_time) {
        this.project_id = project_id;
        this.file_id = file_id;
        this.filename = filename;
        this.uploader_username = uploader_username;
        this.description = description;
        this.upload_time = upload_time;
    }

    public String getProject_id() {
        return project_id;
    }

    public void setProject_id(String project_id) {
        this.project_id = project_id;
    }

    public String getFile_id() {
        return file_id;
    }

    public void setFile_id(String file_id) {
        this.file_id = file_id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getUploader_username() {
        return uploader_username;
    }

    public void setUploader_username(String uploader_username) {
        this.uploader_username = uploader_username;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUpload_time() {
        return upload_time;
    }

    public void setUpload_time(String upload_time) {
        this.upload_time = upload_time;
    }
}
